package com.yunxi.sto.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.sto.pojo.StoRepairOrderExportVO;
import com.yunxi.sto.pojo.StoRepairOrderImpotVO;
import com.yunxi.sto.pojo.StoRepairOrderVO;
import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 车辆维修单 服务类
 * </p>
 *
 * @author caoYong
 * @since 2019-06-04
 */
public interface StoRepairOrderDubboService {

    StoRepairOrderVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    void saveOrUpdate(StoRepairOrderVO stoRepairOrderVO) throws Exception;

    void removeById(String id);

    PageInfo<StoRepairOrderVO> findPageByVO(StoRepairOrderVO stoRepairOrderVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    List<StoRepairOrderExportVO> export(StoRepairOrderVO stoRepairOrderVO) throws Exception;

    void importBatch(List<StoRepairOrderImpotVO> list) throws Exception;

    void removeByListVo(List<StoRepairOrderVO> stoRepairOrderVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException;

    void delAndReset(List<String> list,Integer isDel,String userId) throws Exception;

    void batchStockInOut(List<String> list,Integer isOut,String userId) throws Exception;

    void batchComplete(List<String> list,String userId) throws Exception;
}
